extends KinematicBody2D

signal hurtTarget

onready var anim = $AnimationPlayer

func _process(delta: float) -> void:
	if Input.is_action_just_released("attack"):
		anim.play("Attack")

func _attackTargetKeyEvt():
	emit_signal("hurtTarget")
